quadratic functions and equations in one variable